home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
restaurante_1072.swf
/
scripts
/
DefineButton2_55
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2009-04-16
|
9KB
|
244 lines
on(release){
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
tryAgain();
}
else
{
nextFrame();
toggleHighQuality();
§§pop()[§§pop() - function §\x1b�\x02§(§�\x07§, §\x01§, §\x02\x01§, §\x01§, §���\x11�\x13§, §\x06§, _loc7_, _loc8_, _loc9_, _loc10_, _loc11_, _loc12_, _loc13_, _loc14_)
{
}]();
_loc1_[§§constant(12)](_loc7_);
_loc1_[§§constant(13)] = _loc9_;
if(_loc4_)
{
_loc1_[§§constant(14)] = _loc4_;
}
_loc1_[§§constant(15)](_loc6_);
_loc1_[§§constant(16)] = [];
_loc1_[§§constant(17)](_loc1_);
_loc1_[§§constant(18)]();
var _loc2_ = §§pop()[§§pop()] = §§pop()[§§constant(19)];
_loc2_[§§constant(20)] = function(t)
{
this[§§constant(21)] = this[§§constant(22)];
if(t > this[§§constant(23)]())
{
if(this[§§constant(24)])
{
this[§§constant(26)](t - this[§§constant(25)]);
this[§§constant(27)]();
this[§§constant(29)](§§constant(28),this);
}
else
{
if(this[§§constant(13)])
{
this[§§constant(22)] = this[§§constant(25)];
this[§§constant(27)]();
}
this[§§constant(30)]();
this[§§constant(29)](§§constant(31),this);
}
}
else if(t < 0)
{
this[§§constant(26)]();
this[§§constant(27)]();
}
else
{
this[§§constant(22)] = t;
this[§§constant(27)]();
}
return this[§§constant(32)]();
};
_loc2_[§§constant(32)] = function()
{
return this[§§constant(22)];
};
_loc2_[§§constant(12)] = function(d)
{
this[§§constant(25)] = !(d == null || d <= 0) ? d : _global[§§constant(33)];
return this[§§constant(23)]();
};
_loc2_[§§constant(23)] = function()
{
return this[§§constant(25)];
};
_loc2_[§§constant(34)] = function(fps)
{
var _loc2_ = this[§§constant(35)];
this[§§constant(36)]();
this[§§constant(37)] = fps;
if(_loc2_)
{
this[§§constant(38)]();
}
return this[§§constant(39)]();
};
_loc2_[§§constant(39)] = function()
{
return this[§§constant(37)];
};
_loc2_[§§constant(11)] = function(p)
{
this[§§constant(40)](p);
return this[§§constant(41)]();
};
_loc2_[§§constant(40)] = function(p)
{
this[§§constant(42)] = this[§§constant(43)];
this[§§constant(8)][this[§§constant(9)]] = this[§§constant(43)] = p;
this[§§constant(29)](§§constant(44),this,this[§§constant(43)]);
§§constant(45)();
};
_loc2_[§§constant(41)] = function()
{
return this[§§constant(46)]();
};
_loc2_[§§constant(46)] = function(t)
{
if(t == undefined)
{
t = this[§§constant(22)];
}
return this[§§constant(14)](t,this[§§constant(10)],this[§§constant(47)],this[§§constant(25)]);
};
_loc2_[§§constant(15)] = function(f)
{
this[§§constant(47)] = f - this[§§constant(10)];
return this[§§constant(48)]();
};
_loc2_[§§constant(48)] = function()
{
return this[§§constant(10)] + this[§§constant(47)];
};
_loc2_[§§constant(49)] = function(finish, duration)
{
this[§§constant(10)] = this[§§constant(50)];
this[§§constant(15)](finish);
if(duration != undefined)
{
this[§§constant(12)](duration);
}
this[§§constant(18)]();
};
_loc2_[§§constant(51)] = function()
{
this[§§constant(49)](this[§§constant(10)],this[§§constant(32)]());
};
_loc2_[§§constant(38)] = function()
{
if(this[§§constant(37)] == undefined)
{
_global[§§constant(52)][§§constant(17)](this);
}
else
{
this[§§constant(53)] = §§constant(55)(this,§§constant(54),1000 / this[§§constant(37)]);
}
this[§§constant(35)] = true;
};
_loc2_[§§constant(36)] = function()
{
if(this[§§constant(37)] == undefined)
{
_global[§§constant(52)][§§constant(56)](this);
}
else
{
§§constant(57)(this[§§constant(53)]);
}
this[§§constant(35)] = false;
};
_loc2_[§§constant(18)] = function()
{
this[§§constant(26)]();
this[§§constant(38)]();
this[§§constant(29)](§§constant(58),this);
};
_loc2_[§§constant(30)] = function()
{
this[§§constant(36)]();
this[§§constant(29)](§§constant(59),this);
};
_loc2_[§§constant(60)] = function()
{
this[§§constant(61)]();
this[§§constant(38)]();
this[§§constant(29)](§§constant(62),this);
};
_loc2_[§§constant(26)] = function(t)
{
this[§§constant(22)] = t != undefined ? t : 0;
this[§§constant(61)]();
this[§§constant(27)]();
};
_loc2_[§§constant(63)] = function()
{
this[§§constant(20)](this[§§constant(25)]);
this[§§constant(61)]();
};
_loc2_[§§constant(64)] = function()
{
if(this[§§constant(13)])
{
this[§§constant(20)]((getTimer() - this[§§constant(65)]) / 1000);
}
else
{
this[§§constant(20)](this[§§constant(22)] + 1);
}
};
_loc2_[§§constant(54)] = function()
{
this[§§constant(64)]();
};
_loc2_[§§constant(66)] = function()
{
if(!this[§§constant(13)])
{
this[§§constant(20)](this[§§constant(22)] - 1);
}
};
_loc2_[§§constant(67)] = function()
{
return §§constant(68);
};
_loc2_[§§constant(61)] = function()
{
if(this[§§constant(13)])
{
this[§§constant(65)] = getTimer() - this[§§constant(22)] * 1000;
}
};
_loc2_[§§constant(27)] = function()
{
this[§§constant(11)](this[§§constant(46)](this[§§constant(22)]));
};
§§pop()[§§pop()] = §§pop()[§§constant(69)] = §§constant(70);
§§pop()[§§pop()] = §§pop()[§§constant(71)] = eval(§§constant(1))[§§constant(3)][§§constant(5)][§§constant(6)]();
§§pop()[§§pop()] = §§pop()[§§constant(72)] = eval(§§constant(1))[§§constant(3)][§§constant(73)][§§constant(74)](eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(19)],true);
_loc2_[§§constant(14)] = function(t, b, c, d)
{
return c * t / d + b;
};
§§constant(80)(eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(19)],null,1);
§§push(_loc2_[§§constant(76)](§§constant(75),_loc2_[§§constant(39)],_loc2_[§§constant(34)]));
§§push(_loc2_[§§constant(76)](§§constant(77),_loc2_[§§constant(23)],_loc2_[§§constant(12)]));
§§push(_loc2_[§§constant(76)](§§constant(78),_loc2_[§§constant(48)],_loc2_[§§constant(15)]));
§§push(_loc2_[§§constant(76)](§§constant(50),_loc2_[§§constant(41)],_loc2_[§§constant(11)]));
§§push(_loc2_[§§constant(76)](§§constant(79),_loc2_[§§constant(32)],_loc2_[§§constant(20)]));
}
}
}